VERSION 5.00
Begin VB.Form AddPartnerForm 
   Appearance      =   0  'Flat
   BackColor       =   &H80000005&
   BorderStyle     =   0  'None
   Caption         =   "Form1"
   ClientHeight    =   9000
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   12000
   LinkTopic       =   "Form1"
   ScaleHeight     =   9000
   ScaleWidth      =   12000
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   WindowState     =   2  'Maximized
   Begin VCT.AddPartnerSelector AddPartnerSelector1 
      Height          =   3615
      Left            =   720
      TabIndex        =   4
      Top             =   4560
      Width           =   5775
      _ExtentX        =   10186
      _ExtentY        =   6376
   End
   Begin VB.CommandButton Clear_Button 
      Caption         =   "Clear"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   9600
      TabIndex        =   3
      Top             =   5160
      Visible         =   0   'False
      Width           =   1935
   End
   Begin VB.CommandButton Next_Button 
      Caption         =   "Next"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   9600
      TabIndex        =   1
      Top             =   6360
      Width           =   1935
   End
   Begin VB.CommandButton Cancel_Button 
      BackColor       =   &H008080FF&
      Caption         =   "Cancel"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   9600
      Style           =   1  'Graphical
      TabIndex        =   0
      Top             =   7560
      Width           =   1935
   End
   Begin VCT.ClientReception Client 
      Height          =   3135
      Left            =   360
      TabIndex        =   2
      Top             =   360
      Width           =   5415
      _ExtentX        =   9551
      _ExtentY        =   5530
   End
End
Attribute VB_Name = "AddPartnerForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub AddPartnerSelector1_SelectionMade()
   Next_Button.Enabled = True
   SESSTYPE = AddPartnerSelector1.ClientSessionType
   If SEX = "1" Then
      P_SEX = "2"
   Else
      P_SEX = "1"
   End If
   P_SESSTYPE = SESSTYPE
   Client.SessionType = SESSTYPE
End Sub

Private Sub Cancel_Button_Click()
   RegMenuForm.Show
   Unload Me
End Sub

Private Sub Form_Load()
   Next_Button.Enabled = False
   Client.ClientCodeEnabled = False
   Client.ClientSex = SEX
   Client.ReturnVisit = RETURNV
   Client.NewClientCode = NEWCODE
   Client.ClientCodeEnabled = True
   Client.ClientCode = CLIENTCO
   Client.EnableSTStar
End Sub


Private Sub Next_Button_Click()
   If SESSTYPE = "01" Then 'Individual
      SummaryForm.Show
   Else
      If SESSTYPE = "02" Then 'Couple
         P_PARTCODE = CLIENTCO
         PartnerForm.Show
      Else
         'ERROR
      End If
   End If
   Unload Me
End Sub

Private Sub ReturnVisit1_SelectionMade()
   RETURNV = ReturnVisit1.ClientReturnVisit
   Client.ReturnVisit = RETURNV
   If RETURNV = "0" Then
      NEWCODE = "1"
      Client.NewClientCode = NEWCODE
   End If
   Next_Button.Enabled = True
End Sub
